<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html class="pixel-ratio-2 retina android android-6 android-6-0">
<head>
<title>游戏代理后台</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1, user-scalable=no">

<meta name="description" content="">

<link rel="stylesheet" href="${ctx }/templates/default/skins/default/h5/lib/weui.min.css">
<link rel="stylesheet" href="${ctx }/templates/default/skins/default/h5/css/jquery-weui.css">
<link rel="stylesheet" href="${ctx }/templates/default/skins/default/h5/css/lehe.css">
<script type="text/javascript">
	navigator
			.__defineGetter__(
					'userAgent',
					function() {
						return 'Mozilla/5.0 (Linux; U; Android 2.3.6; zh-cn; GT-S5660 Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 MicroMessenger/4.5.255';
					});
</script>
</head>

<body ontouchstart="">
	<heaer>
	<div class="header">
		<a href="javascript:history.go(-1);" class="title"> <span
			class="header-icon4"></span>
		</a> <span class="title-txt J-title-txt">充值查询</span>
	</div>
	<div class="header-secondary"></div>
	</heaer>

	<form method="post" id="pay_search_from"
		action="${ctx }/wx/payResult">
		<div class="weui-cells weui-cells_form" style="margin-top: 5px;">
			<div class="weui-cell">
				<div class="weui-cell__hd">
					<label for="btime" class="weui-label">起始日期</label>
				</div>
				<div class="weui-cell__bd">
					<input class="weui-input" name="btime" id="btime" type="text"
						value="" readonly="">
				</div>
			</div>
			<div class="weui-cell">
				<div class="weui-cell__hd">
					<label for="etime" class="weui-label">结束日期</label>
				</div>
				<div class="weui-cell__bd">
					<input class="weui-input" name="etime" id="etime" type="text"
						value="" readonly="">
				</div>
			</div>
		</div>

		<div class="lehe-content-padded">
			<a href="javascript:paySearch();" class="weui-btn weui-btn_primary">查询</a>
		</div>
	</form>


	<script src="${ctx }/templates/default/skins/default/h5/lib/jquery-2.1.4.js"></script>
	<script src="${ctx }/templates/default/skins/default/h5/lib/fastclick.js"></script>
	<script>
		$(function() {
			FastClick.attach(document.body);
		});
	</script>
	<script src="${ctx }/templates/default/skins/default/h5/js/jquery-weui.js"></script>


	<script>
		function paySearch() {
			$("#pay_search_from").submit();
		}
		var mydate = {
			title : '日期选择',
			yearSplit : '-',
			monthSplit : '-',
			dateSplit : '',
			times : function() {
				return [ // 自定义的时间
				/*
				{
				    values: (function () {
				        var hours = [];
				        for (var i=0; i<24; i++) hours.push(i > 9 ? i : '0'+i);
				        return hours;
				    })()
				},
				{
				    divider: true,  // 这是一个分隔符
				    content: ':'
				},
				{
				    values: (function () {
				        var minutes = [];
				        for (var i=0; i<59; i++) minutes.push(i > 9 ? i : '0'+i);
				        return minutes;
				    })()
				},
				{
				    divider: true,  // 这是一个分隔符
				    content: ''
				}
				 */
				];
			},
			onChange : function(picker, values, displayValues) {
				console.log(values);
			}
		};
		$("#btime").datetimePicker(mydate);
		$("#etime").datetimePicker(mydate);
	</script>
</body>
</html>